Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. Because all of the containers share the services of a single operating system kernel, they use fewer resources than virtual machines.
Kubernetes is an open-source container orchestration system for automating software deployment, scaling, and management.
➜ More things to do, less resources
The way containers are designed, and particularly the way Docker is designed, the assumption is that the container is stateless.Mark Davis, ClusterHQ, 17 Jun 2015
Some tried early...
... And failed
It shouldn't be a reason not to try again!
Kubernetes 1.14 and persistent volumes
70% of 500 executives and technology leaders are running stateful workloads in production with databases topping the list.
dok report 2021
# Example of PostgreSQL cluster apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: name: cluster-example spec: instances: 3 primaryUpdateStrategy: unsupervised storage: size: 1Gi
Your Postgres database still needs